/*
 * @Descripttion:
 * @version:
 * @Author: cxguo
 * @Date: 2019-03-28 14:09:53
 * @LastEditors: cxguo
 * @LastEditTime: 2019-08-18 22:11:55
 */

/**
 * 商品全局mixins
 */
export default {
  data() {
    return {
    }
  },
  methods: {
    jump2goodsDetail(goodsId) {
      if (goodsId) this.$router.push({ name: 'GoodsDetail', query: { id: goodsId }})
      else this.$router.push({ name: 'GoodsDetail' })
    }
  }
}
